import request from '@/utils/request'


// 微信登录
export function authLoginByWeiXin(data) {
    return request({
        url: '/mall/auth/login_by_weixin',
        method: 'post',
        data: data
    })
}

//获取微信统一下单prepay_id
export function payPrepayId(data) {
    return request({
        url: '/mall/auth/login_by_weixin',
        method: 'post',
        data: data
    })
}

// 微信查询订单状态
export function orderQuery(data) {
    return request({
        url: '/mall/pay/query',
        method: 'post',
        data: data
    })
}

